package com.tianquan.DistributedLock.entiy;/**
 * @author starsea
 * @date 2024-09-26 下午3:06
 */

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 *@BelongsProject: uploaddemo
 *@BelongsPackage: com.tianquan.DistributedLock
 *@Author: tianquan
 *@CreateTime: 2024-09-26  15:06
 *@Description: 锁时间
 *@Version: 1.0
 */
@Getter
public class LockEvent extends ApplicationEvent {

    private final Lock lock;

    public LockEvent(Object source, Lock lock) {
        super(source);
        this.lock = lock;
    }

}
